<?php

namespace Admin\Models\school;

use Admin\Models\BaseModel;
use Helpers\Cache;

class XhsblPushLog extends BaseModel
{

    /**
     *
     * @var integer
     */
    public $iSBEId;

    /**
     *
     * @var integer
     */
    public $iSBLId;

    /**
     *
     * @var integer
     */
    public $iGrade;

    /**
     *
     * @var integer
     */
    public $iSubject;

    /**
     *
     * @var integer
     */
    public $iTchId;

    /**
     * @var integer
     */
    public $iChargeId;


    /**
     * @var string
     */
    public $sChapterIds;

    /**
     * @var string
     */
    public $sBookId;

    /**
     * @var string
     */
    public $sBookName;
    /**
     * @var integer
     */
    public $iQuestionNum;

    /**
     * @var string
     */
    public $tStartTime;

    /**
     * @var string
     */
    public $tEndTime;


    /**
     * @var integer
     */
    public $bFinish;

    /**
     * @var string
     */
    public $mReason;


    /**
     * @var integer
     */
    public $bDelete;

    /**
     *
     * @var string
     */
    public $tCreateDate;

    /**
     *
     * @var string
     */
    public $iCreateUserId;

    /**
     *
     * @var string
     */
    public $tLastModifyDate;

    /**
     *
     * @var string
     */
    public $iLastModifyUserId;

    /**
     * Initialize method for model.
     */
    public function initialize()
    {
        parent::initialize();
    }

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'XHSBL_PushLog';
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhsblPushLog[]
     */
    public static function find($parameters = null)
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhsblPushLog
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }


}
